package com.abs.orm.db.jdbc.provider;

public class DBConfig4Oracle implements DBConfig {
	private static DBConfig dBConfig;

	private DBConfig4Oracle() {
		super();
	}

	private static final long serialVersionUID = -4332669615359082103L;
	public String driverClassName = "oracle.jdbc.OracleDriver";
	public String url = "jdbc:oracle:thin:@127.0.0.1:1521:orcl";
	public String username = "abacus";
	public String password = "sa";

	public String getDriverClassName() {
		return driverClassName;
	}

	public String getUrl() {
		return url;
	}

	public String getUsername() {
		return username;
	}

	public String getPassword() {
		return password;
	}

	public static DBConfig getInstance() {
		if (null == dBConfig) {
			dBConfig = new DBConfig4Oracle();
		}
		return dBConfig;
	}
}
